<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      function createInfo(name, email, age) {
        const info = {
          name,
          email,
          age,
        };
        console.log(info);
      }
      createInfo("jack", "jack@qq.com", 20);
      createInfo("lili", "lili@qq.com", 20);
    </script>
  </body>
</html>
